package com.witmore.skyline.web.controller.vo.param;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * Description: CameraParamPageVO
 * Author: 豆子高
 * Date: 2025/2/28 14:42
 */
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@Data
public class CameraListParamVO extends PageParamVO implements Serializable {
    /**
     * 摄像头序列号
     */
    private String cameraSn;

    /**
     * 摄像头名称
     */
    private String cameraName;

    /**
     * 设备序列号
     */
    private String deviceSn;

    /**
     * 设备名称
     */
    private String deviceName;

    /**
     * 省份
     */
    private String province;

    /**
     * 城市
     */
    private String city;

    @JsonIgnore
    private Integer orgId;

    @JsonIgnore
    private Integer projectId;

    private Integer projectIdQuery;

    /**
     * 摄像头图片数量
     */
    private Integer cameraPicCount;

    public Integer getCameraPicCount() {
        if (cameraPicCount == null) {
            cameraPicCount = 4;
        }
        return cameraPicCount;
    }

    private Boolean needCameraPic;

}
